package com.bbzn.device.client.enums;

/**
 * @Author wulongbo
 * @Date 2021/4/16 9:30
 * @Version 1.0
 */
public enum TopicName {
    ROLL_CALL_DEFAULT(1, "sfwatch/+/client"),

    NB_TOPIC_DEFAULT(2, "nb/+/client"),

    BRIDGE_TOPIC_DEFAULT(2, "bridge/+/client");

    private final Integer key;
    private final String value;

    private TopicName(Integer key, String value) {
        this.key = key;
        this.value = value;
    }

    public Integer getKey() {
        return key;
    }

    public String getValue() {
        return value;
    }

    @Override
    public String toString() {
        return this.value;
    }
}
